﻿#if _MSC_VER >= 1600
#pragma execution_character_set("utf-8")
#endif
#include "mainwindow.h"
#include <QApplication>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    MainWindow * ret = MainWindow::getNewInstance();
    if(ret )
    {
        ret->setWindowIcon(QIcon(":img/main/icon.png"));
        ret->setWindowTitle("小小 xingcent");
        ret->setMinimumSize(600,400);
        ret->show();

        return a.exec();
        delete ret;
    }
}
